async function innerRun() {
    rei_log('开始执行任务');
    var RobotBase = new robot_api.RobotBase({ros:ros});
    if (isPaused) { 
    highlightBlock("");
    rei_log("终止运行");
    return true; }
    highlightBlock('^,A_PQ@G?pek^`S!,vmK');while (isStopped) { await new Promise(r => setTimeout(r, 100)); }
    if (isPaused) { 
    highlightBlock("");
    rei_log("终止运行");
    return true; }

    while (isStopped) { await new Promise(r => setTimeout(r, 100)); }
    if (isPaused) { 
    highlightBlock("");
    rei_log("终止运行");
    return true; }
    await RobotBase.voice_tts((await RobotBase.voice_iat((await RobotBase.voice_collect()))));while (isStopped) { await new Promise(r => setTimeout(r, 100)); }
    if (isPaused) { 
    highlightBlock("");
    rei_log("终止运行");
    return true; }

    while (isStopped) { await new Promise(r => setTimeout(r, 100)); }
    if (isPaused) { 
    highlightBlock("");
    rei_log("终止运行");
    return true; }

    highlightBlock("");
    rei_log('任务执行结束');
}
innerRun();